#pragma once
#include "collection.h"
#include "SimpleType.h"

using namespace Platform;
using namespace StyleMVVM::DependencyInjection;

namespace StyleMVVM_Cpp_UnitTests
{
	public ref class SimpleExport sealed 
	{		
	public:
		property ISimpleType^ TestExport;

		static void RegisterExport(IDependencyInjectionContainer^ container)
		{
			container->RegisterExportFunction(SimpleExport::typeid,
				ref new ExportFunction([](IDependencyInjectionContainer^  container, IInjectionContext^ injectionContext, const Array<Object^>^ constructorParams)
			{
				return ref new SimpleExport();
			}))->
			AsName("SimpleExport")->
			ImportProperty("TestExport");
		}
	};

}